#!/bin/bash
source install/setup.bash
# 启动第一个launch文件并放入后台运行
ros2 launch fast_lio mapping.launch.py &

# 启动第二个launch文件并放入后台运行
ros2 launch localizer localizer_launch.py &

# 等待用户按Ctrl+C
echo "两个launch文件已启动，按Ctrl+C终止"
wait
